package br.unicamp.integralization.request;

public class ValidationConstants {
	/** The QR-Code url */
	public static final String EVC_QR_CODE = "^(http|https):\\/\\/localhost:8080\\/shop\\#offer\\/details\\/(.){6,}\\?name=(.)+$";

	/** The Constant NUMBER (Long or Integer). */
	public static final String NUMBER = "[0-9]+";

	/** The Constant TOKEN 8 digits. */
	public static final String TOKEN = "[0-9]{8}";
	
	public static final String ANY = ".+";
	
	// PHONE VALIDATION {
	/** The Constant PHONENUMBER. */
	public static final String PHONENUMBER = "\\d{8,9}";
	
	/** The Constant PHONE_AREACODE_SP. */
	public static final String PHONE_AREACODE_SP = "11";
	
	/** The Constant PHONENUMBER_CELL_SP. */
	public static final String PHONENUMBER_CELL_SP = "(5|6|7|8|9)\\d{7,8}";
	
	/** The Constant PHONECODE. */
	public static final String PHONECODE = "\\d{2,3}";
	
	/** The Constant CELLPHONENUMBER. */
	public static final String PHONENUMBER_CELL = "(5|6|7|8|9)\\d{7}";
	
	/** The Constant PHONENUMBER_ANY_SP. */
	public static final String PHONENUMBER_ANY_SP = "\\d{8,9}";
	
	/** The Constant ANYPHONENB. */
	public static final String PHONENUMBER_ANY = "\\d{8}";
	// }
	
	// Card number validation for every payment brand {
	// format ex 4111 1111 1111 1111
	public static final String VISA_CARD_NUMBER = "^4[0-9]{12}(?:[0-9]{3})?$";

	// format ex 5500 0000 0000 0004
	public static final String MASTER_CARD_NUMBER = "^5[1-5][0-9]{14}$";

	// format ex 3400 000000 00009
	public static final String AMEX_CARD_NUMBER = "^3[47][0-9]{13}$";

	// format ex 3000 000000 0004
	public static final String DINNERS_CARD_NUMBER = "^3(?:0[0-5]|[68][0-9])[0-9]{11}$";

	// format ex 6098 2011 1111 1111 or 384111 1111 1111 11111
	public static final String HCARD_CARD_NUMBER = "^(3841[0-9]{15}|609820[0-9]{10}|606282[0-9]{10})$";

	public static final String ANY_NUMBER = "^[0-9]{16}$";

	// }

	// Card security code validation for every payment brand {

	// format 111
	public static final String CARD_SECURITY_CODE_3DIGITS = "^[0-9]{3}$";

	// format 1111
	public static final String CARD_SECURITY_CODE_4DIGITS = "^[0-9]{4}$";

	// }
	
	/** The Constant NAME. */
	public static final String NAME = "([0-9A-Za-záéíóú�?É�?ÓÚâêîôûÂÊÎÔÛãõÃÕçÇäëïöüÄË�?ÖÜ'.\\-]+ *)+";
	
	/** The Constant CARD_NAME. */
	public static final String CARD_NAME = "([0-9A-Za-záéíóú�?É�?ÓÚâêîôûÂÊÎÔÛãõÃÕçÇäëïöüÄË�?ÖÜ'.\\-]{1,25} +)*[0-9A-Za-záéíóú�?É�?ÓÚâêîôûÂÊÎÔÛãõÃÕçÇäëïöüÄË�?ÖÜ'.\\-]{1,25} *";
	
	public static final int ZIP_CODE_MIN_LENGTH = 8;
	
	public static final int LANDMARK_MAX_LENGTH = 300;
}
